﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FireZone.OperationLogger;
using System.Windows;

namespace FireZone
{
    internal static class OperationLoggerItemExtensions
    {
        public static void AddLoggerItem(this OperationLoggerItem loggeritem)
        {
            (Application.Current.MainWindow as MainWindow).collectionForLog.AddAsync(loggeritem);
        }
    }
}
